package com.idealighter.game.games.shuihu.handler;

import com.google.inject.Inject;

import com.idealighter.game.core.annotation.ReqMsgHandler;
import com.idealighter.game.games.shuihu.manager.ShuiHuMgr;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ReqMessage;
import com.idealighter.game.message.core.ResMessage;
import com.idealighter.game.player.struct.Player;
import com.idealighter.game.server.handler.ReqMessageHandler;


@ReqMsgHandler(ModuleMsgIdConstant.ShuiHu.BILL)
public class ReqBillHandler implements ReqMessageHandler {
  @Inject
  private ShuiHuMgr shuiHuMgr;

  @Override
  public ResMessage action(Player player, ReqMessage message) {
    // ReqBillMsg msg = (ReqBillMsg)message;
    return shuiHuMgr.bill(player, false);
  }
}
